package com.moore.bean;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class Comment {

  @TableId(type = IdType.AUTO)
  private Long commentId;
  private long communityId;
  @TableField(exist = false)
  private Candidate candidate;
  private long commentIndex;
  private String commentContent;
  private long candidateId;
  private java.sql.Timestamp time;
  private double commentLikeCount;
  @TableField(exist = false)
  private Boolean isLiked;

}
